package com.xrit.service;

import com.xrit.exception.CustomException;
import com.xrit.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * 预约设置的业务
 */
public interface OrderSettingService {

    //3.通过日期设置最大预约数
    void updateNumberByOrderDate(OrderSetting orderSetting) throws CustomException;

    //2.根据年份和月份获取预约设置的数据
    List<Map> getOrderSettingByDate(int year, int month);

    //1.批量导入预约数据
    void add(List<OrderSetting> orderSettings)throws CustomException;
}
